package sicnu.cs.ich.api.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import sicnu.cs.ich.api.common.annotations.sql.SQLDBName;
import sicnu.cs.ich.api.common.annotations.sql.SQLIgnore;

import java.util.Date;

/**
 * @author CaiKe
 * @date 2021/12/8 19:32
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@SQLDBName("sys_loginlog")
public class LoginLog {
    @SQLIgnore
    private Integer id;

    private String username;

    private Integer userId;

    private String ip;

    private Date loginTime;
}